using System.Web.Routing;
using ManagedUIFlow.Model;

namespace ManagedUIFlow.Infrastructure.Services
{
    public interface IFlowViewService
    {
        string Serialize(ManagedFlow flow, RequestContext requestContext);
        ManagedFlow Deserialize(string key, RequestContext requestContext);
        void PostRedirectGet(string key, ManagedFlow flow, RequestContext context);
        void Remove(ManagedFlow flow, RequestContext requestContext);   
    }
}